#include "homepage.h"
#include "ui_homepage.h"
#include "globalval.h"

HomePage::HomePage(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::HomePage)
{
    ui->setupUi(this);
    hw = new homewig;
    setWindowTitle("智能大棚监控系统");
    setWindowIcon(QIcon(":/image/444.png"));

}

HomePage::~HomePage()
{
    delete ui;
}

void HomePage::on_pushButton_clicked()
{
    this->close();
    hw->show();

}
